package com.docker.apps.order.vo;

import com.docker.common.common.model.BaseSampleItem;
import com.docker.common.common.model.OnItemClickListener;

import java.util.List;

/**
 * kxf -> 2020-03-02
 **/
public class RefundOrderVo extends BaseSampleItem {

    /**
     * status : 0
     * refundsNo : HYLJ20200302111119
     * inputtime : 1583118679
     * process_time : 0
     * return_time : 0
     * payment : 1
     * orderNo : TYGS20022920331437591
     */

    private String status;// 0带审核 1售后中 2完成
    private String refundsNo;
    private String inputtime;
    private String process_time;
    private String return_time;
    private String payment;
    private String orderNo;
    private String total;
    private String strStatus;

    public String getStrStatus() {
        if ("0".equals(status))
            strStatus = "待审核";
        else if ("1".equals(status))
            strStatus = "售后中";
        else if ("2".equals(status))
            strStatus = "完成";
        else if ("3".equals(status))
            strStatus = "拒绝";
        else if ("10".equals(status))
            strStatus = "已撤销";
        else
            strStatus = "未知";
        return strStatus;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRefundsNo() {
        return refundsNo;
    }

    public void setRefundsNo(String refundsNo) {
        this.refundsNo = refundsNo;
    }

    public String getInputtime() {
        return inputtime;
    }

    public void setInputtime(String inputtime) {
        this.inputtime = inputtime;
    }

    public String getProcess_time() {
        return process_time;
    }

    public void setProcess_time(String process_time) {
        this.process_time = process_time;
    }

    public String getReturn_time() {
        return return_time;
    }

    public void setReturn_time(String return_time) {
        this.return_time = return_time;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }


    private List<OrderRefundVo> log;

    public List<OrderRefundVo> getLog() {
        return log;
    }

    public void setLog(List<OrderRefundVo> log) {
        this.log = log;
    }


    @Override
    public int getItemLayout() {
        return 0;
    }

    @Override
    public OnItemClickListener getOnItemClickListener() {
        return null;
    }
}
